using System;
using System.ComponentModel;
using System.Collections.Generic;
using System.Text;
using Microsoft.VisualStudio.Modeling;
using Microsoft.VisualStudio.Modeling.Design;

namespace Evaluant.EussDSL
{
    /// <summary>
    /// Call the custom property provider for the "Identifiers" compartment.
    /// </summary>
    internal class IdentifierPropertyProvider : ElementTypeDescriptionProvider
    {
        #region Public Methods
        protected override ElementTypeDescriptor CreateTypeDescriptor(ICustomTypeDescriptor parent, ModelElement element)
        {
            if (null != element)
                return new CustomTypeDescriptor(element);
            else
                return null;
        }
        #endregion
    }
}
